execute unless data entity @n[tag=smithingTable.itemSlot,type=item_display,distance=..5,nbt=!{item:{components:{"minecraft:custom_data":{forge:{null:true}}}}}] item.components."minecraft:custom_data".forge run function vs:system/game_ctrol/smithing_table/tips/tips/non_forged_items
execute if data entity @n[tag=smithingTable.itemSlot,type=item_display,distance=..5] item.components."minecraft:custom_data".smithingTable{null:true} run function vs:system/game_ctrol/smithing_table/tips/tips/no_items
execute if data entity @n[tag=smithingTable.itemSlot,type=item_display,distance=..5] item.components."minecraft:custom_data".forge run function vs:system/game_ctrol/smithing_table/tips/tips/can_forge

function vs:system/game_ctrol/smithing_table/tips/update